Unpacking of inferred params for pws setpoints#7732
Unpacking of inferred params for pws setpoints#7732andncl wants to merge 8 commits intomicrosoft:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7732 +/- ##
=======================================
Coverage 59.80% 59.80%
=======================================
Files 352 352
Lines 31805 31806 +1
=======================================
+ Hits 19022 19023 +1
Misses 12783 12783 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@microsoft-github-policy-service agree |
|
Hi Andreas, Thank you for this contribution. I had also discovered this lack of capability and had been thinking about ways to approach the problem. After looking at your code, I have a few thoughts:
This last point is pretty sticky, and it's where I've struggled the most. In a high-dimensional space, or one in which one axis is significantly larger than the others (eg. where one axis is time), we could end up creating a large number of matrices to save to the dataset that are highly redundant. Curious to hear your thoughts on these issues. Thanks again!
|
|
Hi, Samantha, Thanks a lot for your feedback. I am very happy to hear that you found the same issue. Some thoughts on the points you mentioned:
Thanks again for your feedback. Curious what you are thinking! Cheers, |
Added parameters that are controlled by the setpoints of a
ParameterWithSetpointsto the newunpack_selfmethod (v0.54.0).Setpoints and their corresponding inferred parameters are already being registered automatically when the ParameterWithSetpoints is registered to the measurement. This contribution adds automatic unpacking of the inferred parameters during
add_result.Potential further implementation:
This PR adds automatic adding of all parameters that are in setpoint.has_control_of. Should this also be added for setpoint.is_controlled_by? If yes I am happy to add that as well.
Very keen for feedback and opinions!